package lec_06_AVLTree;

public class AVLNode<T extends Comparable<T>>{

	private T key;
	private int height;
	private AVLNode<T> parent;
	private AVLNode<T> left;
	private AVLNode<T> right;
	
	public AVLNode(T key, AVLNode<T> parent, AVLNode<T> left, AVLNode<T> right) {
		this.key = key;
		this.parent = parent;
		this.left = left;
		this.right = right;
		this.height = 0;
	}

}
